package com.jiuqian.demo.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.jiuqian.common.core.base.BaseModel;

import io.swagger.annotations.ApiModel;

@TableName("sys_user")
@ApiModel("系统用户")
public class SysUser extends BaseModel {
	private static final long serialVersionUID = 1L;

	@TableId(value = "id", type = IdType.AUTO)
	private Long id;

	@TableField("name")
	private String name;

	@TableField("nick")
	private String nick;

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getNick() {
		return this.nick;
	}

	public void setNick(String nick) {
		this.nick = nick;
	}

	public static long getSerialversionuid() {
		return 1L;
	}
}
